import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * 服务启动类-提供端
 */
public class ProviderApplication {
    public static void main(String[] args) throws IOException {
        //启动spring
        new ClassPathXmlApplicationContext("applicationContext.xml");

        System.out.println("dubbo-B,服务启动类完成");

        //等待控制台输入,避免程序提前结束
        System.in.read();

    }

}
